postgresql function return table all columns